﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CalorificAnal.aspx.cs" Inherits="Admin_CalorificAnal" Title="Admin ~ Calorific Analysis" %>

<%@ Register src="../Usercontrols/Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="../Usercontrols/Menu1.ascx" tagname="Menu1" tagprefix="uc2" %>
<%@ Register src="../Usercontrols/Footer.ascx" tagname="Footer" tagprefix="uc3" %>

<%@ Register src="../Usercontrols/Menu2.ascx" tagname="Menu2" tagprefix="uc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table cellpadding="0" cellspacing="0" width="100%">
    <tr>         
        <td align="center" >
           <table cellpadding="0" cellspacing="0" width="900px" >
             
              <tr>
                 <td align="center"  valign="top"> 
                     <uc1:Header ID="Header1" runat="server" />
                 </td>
              </tr>
               
              <tr>
                    <td align="right">
                        <uc2:Menu1 ID="Menu11" runat="server" />
                    </td>
               </tr>
                    
              <tr>
                   <td align="center" valign="top" >        
                     
                     <table cellpadding="5" cellspacing="0" width="100%" class="mainTableBkg">
                        
                        <tr valign="top" align="left">
                            <td>
                                    <table >
                                               <tr>
                                                    <td colspan="3" class="ashBkg">
                                                         <uc4:Menu2 ID="Menu1" runat="server" />
                                                    </td>
                                              </tr>
                                                
                                               <tr valign="top" align="left" >                                    
                                                                <td> 
                                                                    <table>
                                                                        <tr>
                                                                             <td class="adminHeading "  align="left">CALORIFIC ANALYSIS</td>
                                                
                                                                             <td align="left" ><asp:Label ID="lblMsg" runat="server" CssClass="messageLabel"></asp:Label></td>
                                                                            
                                                                             <td align="right" ><asp:Label ID="lblExpdetails" runat="server" CssClass="informationLabe"></asp:Label></td>
                                                                         </tr>
                                                                    </table>
                                                                </td>
                                                 </tr>   
                                                            
                                               <tr id="trCalorifictextboxes" runat="server" >
                                <td>
                                    <table >
                                    
                                       <tr class="altanateAshBkg" id="trUserCode" runat="server" visible="false" >
                                         <td class='label' style="width: 120px">CalId</td>
                                         <td><asp:TextBox ID="txtCalAnalId" runat="server" cssclass='textBox' Width='150px' 
                                            MaxLength="50"></asp:TextBox></td>
                                       </tr> 
                                
                                       <tr class="ashBkg">                                    
                                            <td style="height: 25px" colspan="2">
                                                        <table>
                                                            <tr>
                                                                <td class='label' style="width: 120px; height: 25px;">Moisture Status</td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlMoistureStatus" runat="server" CssClass="dropdownlist">
                                                                        <asp:ListItem>As Received</asp:ListItem>
                                                                        <asp:ListItem>Dry</asp:ListItem>
                                                                        <asp:ListItem>dry ash-free</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td class='label'>HHV (MJ/kg) &nbsp; &nbsp; <asp:TextBox ID="txtHhv" runat="server" cssclass='textBox' Width='65px' MaxLength="100"></asp:TextBox></td>
                                                                <td class='label'>LHV&nbsp; (MJ/kg)&nbsp; &nbsp;&nbsp; &nbsp;<asp:TextBox ID="txtLhv" 
                                                                        runat="server" cssclass='textBox' Width='65px' MaxLength="10"></asp:TextBox></td>
                                                            </tr>
                                                        </table>                                        
                                            </td>
                                        </tr> 
                                        
                                       <tr class="altanateAshBkg">
                                            <td colspan="2">
                                               <table >
                                                <tr>
                                                  <td>
                                                      <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/btnSave.jpg" 
                                                          onclick="btnSave_Click1" />
                                                    </td> 
                                                    <td>
                                                    <asp:Button ID="btnPreviousRecord" Text="PreviousRecords" runat="server" 
                                                            CssClass="button " onclick="btnPreviousRecord_Click" />
                                                    </td>
                                                </tr>
                                               </table>                            
                                            </td>
                                        </tr>
                                                                   
                                                                            
                                    </table>
                                </td>
                            </tr>
                                                                                           
                                               <tr class="ashBkg " id="trCalorificAnalGrid" runat="server">
                                    <td colspan="2">
                                           <asp:GridView  Width="850px" AllowSorting="true" AutoGenerateEditButton="true" 
                                            AllowPaging="true" AutoGenerateColumns="false" ID="dgCalorificAnalysis" 
                                            runat="server" onrowediting="dgCalorificAnalysis_RowEditing" 
                                             onpageindexchanging="dgCalorificAnalysis_PageIndexChanging">
                                            <Columns>      
                                            <%--<asp:CommandField ButtonType="Image" ShowDeleteButton="true" DeleteImageUrl="~/Images/Delete-16x16.png"  DeleteText="Delete" Visible="true" />                                                                            --%>
                                                 <asp:BoundField  DataField="id" HeaderText="Id"/>
                                                <asp:BoundField  DataField="moistureStatus" HeaderText="MoistureStatus"/>
                                                <asp:BoundField  DataField="HHV" HeaderText="HHV" />
                                                <asp:BoundField  DataField="LHV" HeaderText="LHV" />
                                            </Columns>
                                            <HeaderStyle CssClass="gridHeading" />
                                            <AlternatingRowStyle CssClass="gridAltRowStyleStyle" />                                                                                        
                                            <RowStyle CssClass="gridRowStyle" />                                                                                       
                                            <PagerStyle />
                                            <EditRowStyle CssClass="gridEditRow" />                                     
                                        </asp:GridView>
                                    
                                    </td>
                                </tr>
                           
                                    </table>
                            </td>
                        </tr>               
                         
                     </table>
                     
                   </td>        
                </tr>  
                                                   
              <tr>
                        <td>    
                            <uc3:Footer ID="Footer1" runat="server" />
                        </td>
                   </tr> 
                    
             </table>
           </td> 
      </tr>
 </table> 
 
</asp:Content>

